#pragma once

#include <WinSock2.h>
#include <Windows.h>


const int bufSize = 80;

int InitWinSock();


struct OutMessage
{
	int clientID;
	char text[bufSize];
};

struct InMessage
{
	unsigned long ip;
	int port;
	char text[bufSize];
};


void GetAddress(sockaddr_in& address);
